package com.bdqn.zhang.pojo;

/**
 * <Description> <br>
 *
 * @author tao<br>
 * @version 2.0<br>
 * @taskId: <br>
 * @createDate 2019/08/26 16:22 <br>
 * @see com.bdqn.zhang.pojo <br>
 */
public class Category {

    /* Integer 是 int 的包装类 */
    private Integer id;
    private String name;

    public Category() {
    }

    public Category(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
    /*  ctrl + d */
    /*  alt+insert */
    /*  ctrl + alt + l */
    /*  ctrl + shift + 👆  */
    /*  ctrl + shift + F  */
    /*  ctrl + ALT + v  */

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
